package com.le.tester.imooc.oldfairy.coding.proxy;

/**
 * createTime：2023/5/18 16:17
 * description：order do
 */
public class Order implements IOrder {

    int status = 0;

    @Override
    public void pay() throws InterruptedException {
        Thread.sleep(50);
        this.status = 1;
    }

    @Override
    public void show() {
        System.out.println("order status:" + this.status);
    }
}
